package com.xm.mapper;

import com.xm.pojo.*;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MemberEssentialinfoMapper {
    int insertMemberinfo(Memberinfo memberinfo);

    int insertMemberfiles(Memberfiles memberfiles);

    int insertMemberDynamicinfo(MemberDynamicinfo memberDynamicinfo);

    int insertMemberMedicalhistory(MemberMedicalhistory memberMedicalhistory);


    int deleteMemberEssentialinfo(String member_id);

    int updateMemberEssentialinfo(Memberfiles memberfiles);

//    Memberfiles queryByCondition(String condition);

    List<Memberfiles> queryEssentialinfoList(Memberfiles memberfiles);

    List<Memberfiles> queryEssentialinfoAll();

    @Select("select member_id from memberinfo")
    List<String> memberid();
}
